$def with (data)

<html>
<head>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="viewport" content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no"/>
<meta name="format-detection" content="telephone=no">
</head>
<body>

<h1>Report</h1>

<table border="1" >
$for item in data:
  <tr style="text-align: center;"> 
    <td>
      $item.get("title","")<br />
    </td>
    <td>
      <table >
	<tr><td>Size:</td><td> $item.get("size","") MB<br /></td></tr>
	<tr><td>ID:</td><td>   $item.get("id","")<br /></td></tr>
	<!---<tr><td>$item.get("nzb","")<br /></td></tr>--->
      </table>
    </td>
    <td>
      <form method="post" name="main" action="/newzbin/download/?id=$item.get("id","")&category=$item.get("category","")">
	<input type="submit" value="Download" /> 
      </form>

    </td>
  </tr>

</table>
</body>
</html> 
